﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class ChiTietDonHangDTO
    {
        private int _maCTDH;
        private int _maSP;
        private int _soLuong;
        private int _donGia;      
        private int _maDH;

        public ChiTietDonHangDTO()
        { }

        public ChiTietDonHangDTO(int _maCTDH, int _maSP, int _soLuong, int _donGia, int _maDH)
        {
            this._maCTDH = _maCTDH;
            this._maSP = _maSP;
            this._soLuong = _soLuong;
            this._donGia=_donGia;
            this._maDH = _maDH;
        }

        public int MaDH
        {
            get { return _maDH; }
            set { _maDH = value; }
        }

        public int SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }
        public int DonGia
        {
            get { return _donGia; }
            set { _donGia = value; }
        }
        public int MaSP
        {
            get { return _maSP; }
            set { _maSP = value; }
        }

        public int MaCTDH
        {
            get { return _maCTDH; }
            set { _maCTDH = value; }
        }

        public override string ToString()
        {
            return base.ToString();
        }
    }
}
